﻿#pragma once

#ifndef People_h__
#define People_h__


#include <string>

extern int GlobalNum;//声明变量

class People
{
private:
	unsigned char Age = 26;// 无符号类型危险! 简单来说 char各种不好用,
	double Money;//double效率不小于float

public:
	std::string Name;//头文件不要包含std

public:
	People();
	~People();
	People( double money );
	People( std::string name, double money );

	unsigned char GetAge();
	double CostMoney( double costed );

};


#endif // People_h__
